package com.nuist.springbootbook.service;

import com.nuist.springbootbook.mapper.UserInfoMapper;
import com.nuist.springbootbook.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo getUserInfoByName(String username) {
        return userInfoMapper.getUserInfoByName(username);
    }
}
